<!DOCTYPE html>
<html><head>
 <meta charset="utf-8">
 <title>加载中</title>
 <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
 <meta name="apple-mobile-web-app-capable" content="yes">
 <meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="css/mui.min.css">
<style type="text/css">
 #list {
 margin-top: -1px;
 }
 .mui-bar .mui-pull-left .mui-icon {
 padding-right: 5px;
 font-size: 28px;
 }
 .mui-bar .mui-btn {
 font-weight: normal;
 font-size: 17px;
 }
 .mui-bar .mui-btn-link {
 top: 1px;
 }
 .mui-scroll { height: 28px; line-height: 28px; overflow: hidden;}
 .mui-scroll a{padding: 5px;}
 .red{color:#FF0000}
 .no{ background-color:#FFFFFF}
 .vs{left: 0; position: fixed; top:45px; width: 100%;z-index:100;background-color:#FFFFFF}
 .vs video{width:100%; height:200px;} 
 .topc1{ padding-top:45px;}
 .topc2{ padding-top:375px;}
 .content{padding-bottom:0px;background-color:#FFFFFF;}
 .navright span {padding-left:10px;}
 .hy-box{background-color:#FFFFFF; padding:10px;}
.modetext{color:#FF0000;;border: thin solid #FF0000; margin-right:20px;}
/*用户登录支持*/
.mui-content-padded {
margin-top: 25px;
}
.filedown{
 border-bottom: thin solid #666666;
 padding:5px;
 }
#content img{ max-width: 100%;
 height: auto;}
/*双击*/
.mui-preview-image.mui-fullscreen {
 position: fixed;
 z-index: 20;
 background-color: #000;
 }
 .mui-preview-header,
 .mui-preview-footer {
 position: absolute;
 width: 100%;
 left: 0;
 z-index: 10;
 }
 .mui-preview-header {
 height: 44px;
 top: 0;
 }
 .mui-preview-footer {
 height: 50px;
 bottom: 0px;
 }
 .mui-preview-header .mui-preview-indicator {
 display: block;
 line-height: 25px;
 color: #fff;
 text-align: center;
 margin: 15px auto 4;
 width: 70px;
 background-color: rgba(0, 0, 0, 0.4);
 border-radius: 12px;
 font-size: 16px;
 }
 .mui-preview-image {
 display: none;
 -webkit-animation-duration: 0.5s;
 animation-duration: 0.5s;
 -webkit-animation-fill-mode: both;
 animation-fill-mode: both;
 }
 .mui-preview-image.mui-preview-in {
 -webkit-animation-name: fadeIn;
 animation-name: fadeIn;
 }
 .mui-preview-image.mui-preview-out {
 background: none;
 -webkit-animation-name: fadeOut;
 animation-name: fadeOut;
 }
 .mui-preview-image.mui-preview-out .mui-preview-header,
 .mui-preview-image.mui-preview-out .mui-preview-footer {
 display: none;
 }
 .mui-zoom-scroller {
 position: absolute;
 display: -webkit-box;
 display: -webkit-flex;
 display: flex;
 -webkit-box-align: center;
 -webkit-align-items: center;
 align-items: center;
 -webkit-box-pack: center;
 -webkit-justify-content: center;
 justify-content: center;
 left: 0;
 right: 0;
 bottom: 0;
 top: 0;
 width: 100%;
 height: 100%;
 margin: 0;
 -webkit-backface-visibility: hidden;
 }
 .mui-zoom {
 -webkit-transform-style: preserve-3d;
 transform-style: preserve-3d;
 }
 .mui-slider .mui-slider-group .mui-slider-item img {
 width: auto;
 height: auto;
 max-width: 100%;
 max-height: 100%;
 }
 .mui-android-4-1 .mui-slider .mui-slider-group .mui-slider-item img {
 width: 100%;
 }
 .mui-android-4-1 .mui-slider.mui-preview-image .mui-slider-group .mui-slider-item {
 display: inline-table;
 }
 .mui-android-4-1 .mui-slider.mui-preview-image .mui-zoom-scroller img {
 display: table-cell;
 vertical-align: middle;
 }
 .mui-preview-loading {
 position: absolute;
 width: 100%;
 height: 100%;
 top: 0;
 left: 0;
 display: none;
 }
 .mui-preview-loading.mui-active {
 display: block;
 }
 .mui-preview-loading .mui-spinner-white {
 position: absolute;
 top: 50%;
 left: 50%;
 margin-left: -25px;
 margin-top: -25px;
 height: 50px;
 width: 50px;
 }
 .mui-preview-image img.mui-transitioning {
 -webkit-transition: -webkit-transform 0.5s ease, opacity 0.5s ease;
 transition: transform 0.5s ease, opacity 0.5s ease;
 }
 @-webkit-keyframes fadeIn {
 0% {
 opacity: 0;
 }
 100% {
 opacity: 1;
 }
 }
 @keyframes fadeIn {
 0% {
 opacity: 0;
 }
 100% {
 opacity: 1;
 }
 }
 @-webkit-keyframes fadeOut {
 0% {
 opacity: 1;
 }
 100% {
 opacity: 0;
 }
 }
 @keyframes fadeOut {
 0% {
 opacity: 1;
 }
 100% {
 opacity: 0;
 }
 }
 
</style>
</head><body>
<header id="header" class="mui-bar mui-bar-nav">
 <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
<h1 class="mui-title" id="title">加载中</h1></header>
<div class="vs" id="vs"></div>
<div class="content" id="content"></div>

<div id="pullrefresh" style="margin-bottom:60px; padding:0px;"><ul class="pullrefresh-view mui-table-view mui-table-view-chevron" id="mui-table-view"></ul></div>
<div id="sheet1" class="mui-popover mui-popover-bottom mui-popover-action"><div class="hy-box" style="font-size: 16px;">
<div class="input-box">
<label style="font-weight: bold;font-size: 1.4rem;"><a href="javascript:void(0)" onClick="mui('#sheet1').popover('toggle')">关闭评论</a></label>
</div>
<p><textarea id="content2" class="publisher_textarea"></textarea></p><p class="pl-input-box"><button type="button" id="post_post" class="mui-btn mui-btn-primary mui-btn-outlined">发布</button><span class="mui-icon mui-icon-starhalf">100</span></p>

</div></div>


 <nav class="mui-bar mui-bar-tab">
<div class="hy-fix-b hy-bo-t item" style="background: #f6f6f6;width:100%;padding:10px;">
<button type="button" style="border-radius: 15px;width:52%" class="red">评论抽1000元大奖</button>
<div class="mui-pull-right navright"><span class="mui-icon mui-icon-chatbubble red" id="posts"></span><span class="mui-icon mui-icon-star" id="fav"></span><span class="mui-icon mui-icon-redo" id="share"></span></div>
</div></nav>

<div id="logindiv" class="mui-popover mui-popover-bottom mui-popover-action">
<div class="hy-box" style="font-size: 16px;">
<form class="mui-input-group">
<div class="mui-input-row"><label>账号</label><input id='user' type="text" class="mui-input" placeholder="请输入账号"></div>
<div class="mui-input-row"><label>密码</label><input id='pass1' type="password" class="mui-input" placeholder="请输入密码"></div>
<div class="mui-input-row" id="pass2d"><label>重复密码</label><input id='pass2' type="password" class="mui-input" placeholder="请再次输入密码"></div> 
<div class="mui-input-row" id="emaild"><label>邮箱</label><input id='email' type="text" class="mui-input" placeholder="请输入您的邮箱"></div> 
</form> 
<div class="mui-content-padded"><button id='loginb' class="mui-btn mui-btn-block mui-btn-primary">登录</button><a id='add'>注册账号</a></div>

</div>
</div> 
<script src="js/mui.min.js"></script>
<script src="config.js"></script>
<script src="js/mui.zoom.js"></script>
<script src="js/mui.previewimage.js"></script>
 <script>
 var deceleration = mui.os.ios?0.003:0.0009;
 var id=getQueryString("id")
 var dataa=[];
 var dataai=0;
 var pagtime=0;
 var classvlue ='topc1';
 var datalook=[];/*查看*/
 var datafav=[];/*收藏*/
 var datacom=[];/*评论*/
 var datadown=[];/*下载*/
 /*从数据库中获取信息*/
//localStorage.clear();
var optionss=localStorage.getItem("datalook"); 
if(optionss){datalook=JSON.parse(optionss);}
var optionss=localStorage.getItem("datafav"); 
if(optionss){datafav=JSON.parse(optionss);}
var optionss=localStorage.getItem("datacom"); 
if(optionss){datacom=JSON.parse(optionss);}
var optionss=localStorage.getItem("datadown"); 
if(optionss){datadown=JSON.parse(optionss);}

/*分享支持*/
	var shares = {};
mui.plusReady(function() {
			plus.share.getServices(function(s) {
				if (s && s.length > 0) {
					for (var i = 0; i < s.length; i++) {
						var t = s[i];
						shares[t.id] = t;
					}
				}
			}, function() {
				mui.alert("获取分享服务列表失败");
			});
		});
	document.getElementById("share").addEventListener('tap', function() {
			var ids = [{
					id: "weixin",
					ex: "WXSceneSession"
				}, {
					id: "weixin",
					ex: "WXSceneTimeline"
				}, {
					id: "sinaweibo"
				}, {
					id: "tencentweibo"
				}, {
					id: "qq"
				}],
				bts = [{
					title: "发送给微信好友"
				}, {
					title: "分享到微信朋友圈"
				}, {
					title: "分享到新浪微博"
				}, {
					title: "分享到腾讯微博"
				}, {
					title: "分享到QQ"
				}];
		
			plus.nativeUI.actionSheet({
				cancel: "取消",
				buttons: bts
			}, function(e) {
				var i = e.index;
				if (i > 0) {
				
					var s_id = ids[i - 1].id;
					var share = shares[s_id];
					if (share) {
		
						if (share.authenticated) {
			
							shareMessage(share, ids[i - 1].ex);
						} else {
		
							share.authorize(function() {
								shareMessage(share, ids[i - 1].ex);
							}, function(e) {
								mui.alert("认证授权失败：" + e.code + " - " + e.message);
							});
						}
					} else {
						mui.alert("无法获取分享服务，请检查manifest.json中分享插件参数配置，并重新打包")
					}
				}
			});
		});

		function shareMessage(share, ex) {
			var msg = {
				extra: {
					scene: ex
				}
			};
			msg.href = "https://www.ysv8.com/t/"+datalook[datalook.length-1]['id']+'.html';
			msg.title =datalook[datalook.length-1]['title'];
			msg.content =datalook[datalook.length-1]['title'];
			if (share.id.indexOf('weibo')) {
				msg.content += "；体验地址：https://www.ysv8.com/t/"+datalook[datalook.length-1]['id']+'.html';
			}
			msg.thumbs = ["_www/images/logo.png"];
			share.send(msg, function() {
				mui.alert("分享到\"" + share.description + "\"成功！ ");
			}, function(e) {
				mui.alert("分享到\"" + share.description + "\"失败: " + e.code + " - " + e.message);
			});
		}


function in_array2(id,myarr){
for (arr2i = 0;arr2i < myarr.length; arr2i++) {
if(id==myarr[arr2i]['id']){
return true;
}
}
return false;
}




function add_array(arr,myarr){
for (arr2i = 0;arr2i < myarr.length; arr2i++) {
if(arr['id']==myarr[arr2i]['id']){
var news_sub={
 id:myarr[arr2i]['id'],
 btime:myarr[arr2i]['btime'],
 img:myarr[arr2i]['img'],
 gold:myarr[arr2i]['gold'],
 mode:myarr[arr2i]['mode'],
 posts:myarr[arr2i]['posts'],
 title:myarr[arr2i]['title'],
 vs:myarr[arr2i]['vs'],
 }
myarr.push(news_sub);
myarr.splice(arr2i,1);
return myarr;
}
}

if(myarr.length>100){
myarr.splice(0,10);
}

var news_sub={
 id:arr['id'],
 btime:arr['btime'],
 img:arr['img'],
 gold:arr['gold'],
 mode:arr['mode'],
 posts:arr['posts'],
 title:arr['title'],
 vs:arr['vs'],
 }
myarr.push(news_sub);
return myarr;
}
function add_fav(arr){

for (arr2i = 0;arr2i < datafav.length; arr2i++) {
if(arr['id']==datafav[arr2i]['id']){
datafav.splice(arr2i,1);
return false;
}
}
if(datafav.length>100){
datafav.splice(0,10);
}
var news_sub={
 id:arr['id'],
 btime:arr['btime'],
 img:arr['img'],
 gold:arr['gold'],
 mode:arr['mode'],
 posts:arr['posts'],
 title:arr['title'],
 vs:arr['vs'],
 }
datafav.push(news_sub);
return true;
}
mui(".pl-input-box").on('tap','button',function(){
var _obj = this;
_obj.disabled=true;
_obj.innerText="提交中";
var content2=document.getElementById('content2').value;
 mui.post('https://www.ysv8.com/open/tpost_add',{myuid:myuid,content:content2,id:datalook[datalook.length-1]['id'],YSV8_HEX:ysv8hex,rndhex:rndhex},function(data){
 var pltable = document.body.querySelector('.pullrefresh-view'); 
 if(data.error){
 var li = document.createElement('li');
 li.className = 'mui-table-view-cell mui-media';
 li.innerHTML = '<img class="mui-media-object mui-pull-left" src="https://i.ysv8.com/public/my.jpg_150"><div class="mui-media-body">自己<p>'+content2+'</p><p><span class="modetext">刚刚</span></p></div>';
pltable.appendChild(li);
datacom =add_array(datalook[datalook.length-1],datacom)
var str = JSON.stringify(datacom); 
localStorage.setItem("datacom",str);
mui.alert(data.info,'恭喜您中奖了！')
mui('#sheet1').popover('toggle');
 }else{
mswal(data);
 return false
 }
 _obj.disabled=false;
 _obj.innerText="发布";
},'json'
);



}); 

mui(".hy-fix-b").on('tap','button',function(){
mui('#sheet1').popover('toggle');
}); 
mui(".pullrefresh-view").on('tap','span',function(){
id = this.getAttribute("id");
size = this.getAttribute("size");
var _obj=this;
if(id>0){
 mui.post('https://www.ysv8.com/open/tpost_vote',{type:size,id:id,YSV8_HEX:ysv8hex},function(data){
if(!data['error']){
mui.alert(data['info'],'错误');
}else{
classname=_obj.getAttribute("class")
_obj.className = classname+' red';
it=parseInt(_obj.innerText);
_obj.innerText = it+1;
_obj.id=0;
}
},'json');

}
}); 

mui(".content").on('tap','span',function(){
id = this.getAttribute("id");
size = this.getAttribute("size");
var _obj=this;
if(id>0){
 mui.post('https://www.ysv8.com/open/post_vote',{type:size,id:id,YSV8_HEX:ysv8hex},function(data){
if(!data['error']){
mui.alert(data['info'],'错误');
}else{
classname=_obj.getAttribute("class")
_obj.className = classname+' red';
it=parseInt(_obj.innerText);
_obj.innerText = it+1;
_obj.id=0;
}
},'json');

}
}); 


mui(".content").on('tap','.mui-navigate-right',function(){
id = this.getAttribute("id");

/*下载过的东西，就加载缓存*/


for (arr2i = 0;arr2i < datadown.length; arr2i++) {
if(id==datadown[arr2i]['id']){
mui.openWindow({
 url: datadown[arr2i]['info'], 
 id:'file'
 });
return false;
}
}






if(id.length>11){
mui.openWindow({
 url: id, 
 id:'file'
 });
}else{
mui.post('https://www.ysv8.com/open/down',{myuid:myuid,id:id,YSV8_HEX:ysv8hex,rndhex:rndhex},function(data){
if(data['error']){

if(datadown.length>100){
datadown.splice(0,10);
}
var news_sub={
 id:id,
 info:data['info'],
 }
datadown.push(news_sub);
localStorage.setItem("datadown",JSON.stringify(datadown));


 this.id=data['info'];
mui.openWindow({
 url: data['info'], 
 id:'file'
 });
}else{
if(typeof(data['link'])=="undefined"){ 
 mui.alert(data['info']);
}else{
if(data['link']=='/user/login'){
ysv8hex='no';
 localStorage.setItem("ysv8hex",'no');
 mui.alert(data['info'],'警告','登录',function(data){
 mui.openWindow({
 url: 'my.html', 
 id:'my.html'
 });});

}

if(data['link']=='/gold/cz.html'){
 mui.alert(data['info'],'警告','充值',function(data){
 mui.openWindow({
 url: 'cz.html?q='+encodeURI('https://www.ysv8.com/mui/t.html?id='+datalook[datalook.length-1]['id']), 
 id:'cz.html'
 });});
}
}

}
});
}
});
mui(".navright").on('tap','span',function(){
id = this.getAttribute("id");
if(id=='fav'){
var gethtml=add_fav(datalook[datalook.length-1]);
if(gethtml){
document.getElementById('fav').className ='mui-icon mui-icon-star red';
}else{
document.getElementById('fav').className ='mui-icon mui-icon-star';
}
}
var str = JSON.stringify(datafav); 
localStorage.setItem("datafav",str);

}); 
window.onscroll = function () { 
if (getScrollTop() + getClientHeight() == getScrollHeight()) { 
set_pl_html();
} 
} 
var plbool=false;
function set_pl_html(){
if(plbool){return false;}
mui.post('https://www.ysv8.com/open/thread',{pageid:pagtime,type:'0',id:id},function(data){
if(pagtime==0){
 var table = document.body.querySelector('.content');
if("undefined" == typeof data['thread']){
mui.alert('错误');
}else{
if(typeof(data['hex'])!="undefined"){ 
 rndhex=data['hex'];
 localStorage.setItem("rndhex",data['hex']);
 }
datalook =add_array(data['thread'],datalook)
var str = JSON.stringify(datalook); 
localStorage.setItem("datalook",str);
if(in_array2(data['thread']['id'],datafav)){
document.getElementById('fav').className ='mui-icon mui-icon-star red';
}else{
document.getElementById('fav').className ='mui-icon mui-icon-star';
}
document.title =data['thread']['title'];
document.getElementById('posts').innerHTML=data['thread']['posts'];
document.getElementById('title').innerHTML=data['thread']['title'];
if(data['thread']['vs']!=''){
 var vs = document.body.querySelector('.vs');
 var li = document.createElement('div');
 li.className = 'mui-table-view-cell mui-media';
 li.innerHTML = '<video controls="controls" autoplay="autoplay"><source src="'+data['thread']['vs'].replace('{m}','https://i.ysv8.com/upload/')+'" type="video/mp4"></video>';
 vs.appendChild(li);
 classvlue="topc2";
}
var reg = "/<img /g";
 var li = document.createElement('div');
 li.className = 'mui-table-view-cell mui-media '+classvlue;
 li.innerHTML = '<p><h1>'+data['thread']['title']+'</h1><p>'+data['data']['content'].replace(eval(reg),'<img data-preview-src="" data-preview-group="1" ');
 table.appendChild(li);
 for (i = 0;i < data['files'].length; i++) {
 var li = document.createElement('div');
 li.className = 'filedown mui-ellipsis-2';
 li.innerHTML = '<a class="mui-navigate-right" id="'+data['files'][i]['id']+'"><span class="mui-icon mui-icon-pulldown"></span><span>'+data['files'][i].filename+'.'+data['files'][i].ext+'</span>(<span class="red">'+data['files'][i]['gold']+'</span>)</a>';
 table.appendChild(li);
 } 

var li = document.createElement('div');
 li.className = 'tupdown mui-table-view-cell';
 li.innerHTML = '<span class="modetext">'+timeStamp2String(data['thread']['atime'])+'</span><span class="modetext">'+data['thread']['gold']+'</span><div class="mui-pull-right plupdown"><span class="mui-icon mui-icon-arrowthinup" id="'+data['thread']['id']+'" size="goods">'+data['thread']['goods']+'</span><span class="mui-icon mui-icon-arrowthindown" id="'+data['thread']['id']+'" size="nos">'+data['thread']['nos']+'</span></div>';
table.appendChild(li);
setTimeout(function() {mui.previewImage();},500);
thisgold='';
thismy='';
console.log(myfr);
if(in_myfr(data['thread']['user']['id'])){
thismy='<a class="modetext mui-pull-right" id="'+data['thread']['user']['id']+'" datasize="friend_state" dataname="'+data['thread']['user']['user']+'">已关注</a>';
}else{
thismy='<a class="nomodetext mui-pull-right" id="'+data['thread']['user']['id']+'" datasize="friend_state"  dataname="'+data['thread']['user']['user']+'">关注</a>';
}


var li = document.createElement('div');
      li.className = 'mui-table-view-cell mui-media';
      li.innerHTML = '<img class="mui-media-object mui-pull-left" src="https://i.ysv8.com/upload/'+data['thread']['user']['avatar']+'_80"><div class="mui-media-body"><a her="lo.html" id="'+data['thread']['user']['id']+'" posttype="uid_get" class="lo">'+data['thread']['user']['user']+'</a><p class="mui-ellipsis"><span class="modetext">'+data['thread']['user']['credits']+'</span><br>'+data['thread']['user']['ps']+thismy+'</p></div>';
      table.appendChild(li);

thisgold='';
if(data['thread']['Forum']['gold']>0){
thisgold='<span class="modetext">'+data['thread']['Forum']['gold']+'</span>';
}
if(in_group(data['thread']['Forum']['id'])){
thismy='<a class="modetext mui-pull-right" id="'+data['thread']['Forum']['id']+'" datasize="f_state" dataname="'+data['thread']['Forum']['name']+'">已关注</a>';
}else{
thismy='<a class="nomodetext mui-pull-right" id="'+data['thread']['Forum']['id']+'" datasize="f_state"  dataname="'+data['thread']['Forum']['name']+'">关注</a>';
}
var li = document.createElement('div');
      li.className = 'mui-table-view-cell mui-media';
      li.innerHTML = '<img class="mui-media-object mui-pull-left" src="'+data['thread']['Forum']['img'].replace('{m}','https://i.ysv8.com/upload/')+'_80"><div class="mui-media-body"><a her="lo.html" id="'+data['thread']['Forum']['id']+'" posttype="forum_get" class="lo">'+data['thread']['Forum']['name']+'</a><p class="mui-ellipsis">'+thisgold+thismy+'</p></div>';
      table.appendChild(li);



}
}
var pltable = document.body.querySelector('.pullrefresh-view'); 
if(data['pl'].length>0){
 var pltable = document.body.querySelector('.pullrefresh-view'); 
 for (i = 0;i < data['pl'].length; i++) { 
  if(pagtime>data['pl'][i]['btime'] || pagtime==0){pagtime=data['pl'][i]['btime']}
 var li = document.createElement('li');
 li.className = 'mui-table-view-cell mui-media';
 li.innerHTML = '<img class="mui-media-object mui-pull-left" src="'+data['pl'][i]['avatar']['a']+'"><div class="mui-media-body">'+data['pl'][i]['user']+'<p>'+data['pl'][i]['content']+'</p><div><span class="modetext">'+data['pl'][i]['atime_str']+'</span><div class="mui-pull-right plupdown"><span class="mui-icon mui-icon-arrowthinup" id="'+data['pl'][i]['id']+'" size="goods">'+data['pl'][i]['goods']+'</span><span class="mui-icon mui-icon-arrowthindown" id="'+data['pl'][i]['id']+'" size="nos">'+data['pl'][i]['nos']+'</span></div></div></div>';
pltable.appendChild(li);
 }
}
if(data['pl'].length<10){
plbool=true;
var li = document.createElement('div');
li.className = 'mui-table-view-cell mui-media ';
li.innerHTML = "<center>评论加载完毕</center>";
pltable.appendChild(li);
}

},'json'
);

}


 (function($){
 $.ready(function() {
 ajaxbool=false;
 mui(".content").on('tap','.mui-pull-right',function(){/*关注*/
 var thisself=this;
 var datasize=thisself.getAttribute('datasize');
id = this.getAttribute("id");
 mui.post('https://www.ysv8.com/open/'+thisself.getAttribute('datasize'),{id:id,YSV8_HEX:ysv8hex,rndhex:rndhex},function(data){ 
  if(data['error']==false){
   mswal(data);
  return false;
  }
 if(data['id']){
 //删除id
 if(datasize=='friend_state'){ add_myfr(id,thisself.getAttribute('dataname'),'add');}else{
 add_f(id,thisself.getAttribute('dataname'),'add');
 }
 
 thisself.setAttribute("class", "modetext mui-pull-right"); 
 thisself.innerHTML="已关注";
 }else{
  if(datasize=='friend_state'){ add_myfr(id,thisself.getAttribute('dataname'),'del');}else{
 add_f(id,thisself.getAttribute('dataname'),'del');
 }
  thisself.setAttribute("class", "nomodetext mui-pull-right"); 
 thisself.innerHTML="关注";
 }
 },'json'
);
});

mui(".content").on('tap','.lo',function(){/*关注*/
 var name=this.innerText;
id = this.getAttribute("id");
her = this.getAttribute("her");
posttype= this.getAttribute("posttype");
 mui.openWindow({
url: her+'?id='+id+'&name='+encodeURI(name)+'&posttype='+encodeURI(posttype), 
id:her
});
});   
  
setTimeout(function() {var gethtml=set_pl_html();},500);}); 
 
})(mui); 
</script></body></html>